package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.BigClient;
import cn.wolfcode.crm.domain.Exam;
import cn.wolfcode.crm.query.BigClientObject;
import cn.wolfcode.crm.query.ExamQueryObject;

import java.util.List;

public interface ExamMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Exam record);

    Exam selectByPrimaryKey(Long id);

    List<Exam> selectAll();

    int updateByPrimaryKey(Exam record);

    /**
     * 查询总记录数
     * @param qo
     * @return
     */
    int queryForCount(ExamQueryObject qo);

    /**
     * 查询当前页的所有数据
     * @param qo
     * @return
     */
    List<Exam> queryForList(ExamQueryObject qo);

    void audit(Long id);
}